package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_browse_history;
import cn.com.api.mapper.ApiT_browse_historyMapper;

/**
 * 
 **/
@Service
public class T_browse_historyServiceImplBase {
	@Autowired
	private ApiT_browse_historyMapper apiT_brwose_historyMapper;

	// 根据id获取
	public ApiT_browse_history findT_browse_historyById(Integer id) {
		ApiT_browse_history apiT_browse_history = apiT_brwose_historyMapper.findT_browse_historyById(id);
		return apiT_browse_history;
	}

	// 查看数据集
	public List<ApiT_browse_history> findT_browse_historys() {
		List<ApiT_browse_history> list = apiT_brwose_historyMapper.findT_browse_historys();
		return list;
	}

	// 添加
	public int insertT_browse_history(ApiT_browse_history apiT_browse_history) {
		int ret_I = apiT_brwose_historyMapper.insertT_browse_history(apiT_browse_history);
		return ret_I;
	}

	// 修改
	public int updateT_browse_history(ApiT_browse_history apiT_browse_history) {
		int ret_I = apiT_brwose_historyMapper.updateT_browse_history(apiT_browse_history);
		return ret_I;
	}

	// 删除
	public int deleteT_browse_history(Integer id) {
		int ret_I = apiT_brwose_historyMapper.deleteT_browse_history(id);
		return ret_I;
	}

}
